#pragma once
#include "State.h"
#include "Game.h"
#include "TrackBirdListener.h"

class TrackBirdState: public State
{
public:
	TrackBirdState(void);
	~TrackBirdState(void);

	

	virtual void init(){
		Game * game =Game::getInstance();
		//Light *l = game->mSceneMgr->createLight("MainLight");
		//l->setPosition(20,80,50);

		TrackBirdListener * lis = new TrackBirdListener(game->mRoot,game->mCamera, 
			game->mSceneMgr,game->mWindow,game->mKeyboard,game->mInputManager);

		frameListener = lis;
		keyListener = lis;
		//MouseListener = lis;
		windowEventListener=lis;

	}

	virtual void stateStarted();
	virtual void stateEnded();

};
